package com.lzhsite.technology.designPattern.command.RestaurantDemo;

public class Waiter
{
    public MenuCommand menuCommand = new MenuCommand();

    public void orderDish(ICommand command)
    {
        menuCommand.addCommand(command);
    }

    public void orderOver()
    {
        this.menuCommand.execute();
    }
}
